package com.pruebas.physics.simplegravityandcollision;

import android.content.Context;
import android.opengl.GLSurfaceView;

public class SimpleGravityAndCollisionSurfaceView extends GLSurfaceView {
	
	//private final float TOUCH_SCALE_FACTOR = 180.0f / 320;
    private SimpleGravityAndCollisionRenderer mRenderer;
    //private float mPreviousX;
    //private float mPreviousY;
    
    public SimpleGravityAndCollisionSurfaceView(Context context){
        super(context);
        // set the mRenderer member
        mRenderer = new SimpleGravityAndCollisionRenderer();
        setRenderer(mRenderer);
        
        // Render the view only when there is a change
        setRenderMode(GLSurfaceView.RENDERMODE_CONTINUOUSLY);
    }
}
